package com.wcity.manage.dao.model;

import com.wcity.manage.dao.dal.model.AbstractModel;

import java.util.Date;

/**
 * 物业报修管理模块
 * Created by zm on 2016/12/12.
 *
 */
public class Fix extends AbstractModel {

    private static final long serialVersionUID = 677120007631888594L;

    private int id;
    private String blockName;                     //小区名字
    private String name;                          //报修人姓名
    private String addr;                          //报修人地址
    private String phone;                         //报修人电话
    private String content;                       //报修内容
    private String status;                        //状态
    private String worker;                        //处理人
    private String workerTel;                     //处理人电话
    private String areeType;                      //修理区域
    private String images;                        //图片
    private int    remark;                        //删除状态；1-未删；0-已删
    private Date   createTime;                    //创建时间
    private int    userId;                        //物业管理员id
    private int    regId;                         //用户id
    private String[] imgs;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBlockName() {
        return blockName;
    }

    public void setBlockName(String blockName) {
        this.blockName = blockName;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getWorker() {
        return worker;
    }

    public void setWorker(String worker) {
        this.worker = worker;
    }

    public String getWorkerTel() {
        return workerTel;
    }

    public void setWorkerTel(String workerTel) {
        this.workerTel = workerTel;
    }

    public String getAreeType() {
        return areeType;
    }

    public void setAreeType(String areeType) {
        this.areeType = areeType;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public int getRemark() {
        return remark;
    }

    public void setRemark(int remark) {
        this.remark = remark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String[] getImgs() {
        return this.images==null? null:this.images.split(",");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getRegId() {
        return regId;
    }

    public void setRegId(int regId) {
        this.regId = regId;
    }
}
